home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97b.txt / 000055_icon-group-sender _Tue Sep 2 12:02:41 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Tue, 2 Sep 1997 12:02:40 -0500 (EST)
  3. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  4.     id AA17908; Tue, 2 Sep 1997 10:02:39 -0700
  5. To: icon-group
  6. Date: Tue, 2 Sep 1997 15:26:07 GMT
  7. From: feustel@netcom.com (Dave Feustel)
  8. Message-Id: <feustelEFw07J.Jyx@netcom.com>
  9. Organization: DAFCO
  10. Sender: icon-group-request
  11. References: <Stuart.Robinson-0209972348010001@asianstmg-221.anu.edu.au>
  12. Subject: Re: More specific GREP-related question
  13. Errors-To: icon-group-errors
  14. Status: RO
  15.  
  16.  
  17. See the O'Reilly book: _Mastering Regular Expressions_ for a complete
  18. exposition of regular expressions for all the standard unix programs.
  19.  
  20. Stuart Robinson (Stuart.Robinson@anu.edu.au) wrote:
  21. : Does anyone know how regular expressions like [a-z] work when a
  22. : non-alphanumeric character is used?  For example, which characters would
  23. : the following regular expression match?
  24.  
  25. : [1-!]
  26.  
  27. : What about this one?
  28.  
  29. : [a-1]
  30.  
  31. : And the reverse?
  32.  
  33. : [1-a]
  34.  
  35. : I'm sure all of this could be predicted if one had knowledge of the
  36. : ordering of ASCII, but I'm afraid I lack such knowledge.  Any tips? 
  37. : Thanks in advance.
  38.  
  39. : Regards,
  40. : Stuart Robinson
  41.  
  42. : -- 
  43. : Stuart Robinson <Stuart.Robinson@anu.edu.au>
  44. : The Australian National University
  45. -- 
  46. Dave Feustel        http://feustel.mixi.net
  47. 219-483-1857        mailto:feustel@netcom.com
  48.